<template>
  <div id="navmenu">  
      
    <el-container class="big-box">
      <!-- 头部区域 -->
       <el-header style="margin-bottom:0px;">
           <top-header></top-header>
       </el-header>
     
     
      <el-container class="left-box">
          <!-- 左边区域 -->
         
              <el-aside width="160px" style="height:calc(100%);overflow: auto;">
                <!-- <div style="text-align: center;padding:20px;">
                        <img src="@/assets/images/login_bg1.png" />
                        <div style="color:black;margin-top:10px;">管理系统</div>
                  </div> -->
                <nav-menu style="margin-top:50px;"></nav-menu>
              </el-aside>
           <!-- 右边区域 -->
        <el-main class="right_bg">
              <!-- <el-header style="margin-bottom:0px;">
                <top-header></top-header>
              </el-header> -->
              <div style="padding:10px 15px 0px 15px;">   
                  <tab></tab>
              </div> 
              <div style="padding:0px 15px 15px 15px;">   
                  <div class="aaa" style="padding:10px 15px 15px 15px;background-color: white;">
                    <keep-alive>
                            <router-view v-if="$route.meta.keepAlive"></router-view>
                    </keep-alive>
                    <router-view v-if="!$route.meta.keepAlive"></router-view>
                  </div>
              </div>
        </el-main>
      </el-container>
    </el-container>

      
  </div>
</template>

<script>
import NavMenu from '@/components/NavMenu/NavMenu'
import TopHeader from '@/components/Header/Header'
import Breadcrumb from '@/components/Tab/Breadcrumb'
import Tab from '@/components/Tab/Tab'
export default {
  name: 'navmenu',
  data () {
    return {
      
    }
  },
   components:{
     NavMenu,
     TopHeader,
     Breadcrumb,
     Tab
  },
  created(){
      
  },
  mounted (){
    
  },
  methods: {
    
  }
}
</script>


<style scoped>

.el-main{
  padding:0px;
  border-right:0px;
   /* box-shadow: rgb(224, 233, 252) 2px 4px 17px; */
}
#navmenu{
  height: 100%;
}
.big-box{
  height: 100%;
}
.right_bg{
    background: #F5F5F9;
} 
.el-header {
    background-color: white;
    color: #333;
    /* line-height: 60px; */
  }
.left-box{
    height: calc(100% - 60px);
}
.el-aside{
    height: calc(100% - 60px);
    overflow: auto;
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
    /* box-shadow: 3px 3px 7px 0px #E0E9FC; */
    box-shadow:3px 3px 3px 0px #e0e9fc;

}
.el-aside::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}


</style>
